package edu.ccut.saturn.operation.database;

import java.sql.Connection;

import edu.ccut.saturn.component.SaturnData;

public class UpdateByPrimaryKey  {
	private static edu.ccut.saturn.basecomponent.database.facade.UpdateByPrimaryKey facade = null;
	private static UpdateByPrimaryKey instance  = new UpdateByPrimaryKey();
    private UpdateByPrimaryKey(){
    	facade = new edu.ccut.saturn.basecomponent.database.facade.UpdateByPrimaryKey();
    };
    public static UpdateByPrimaryKey getInstance(){
    	return instance;
    }

	public int execute(SaturnData saturnData,String specialcolumn,Connection conn) throws Exception {
		return facade.execute(saturnData, specialcolumn, conn);
	}

}
